import request from "@/utils/request";

//字典 根据不同参数返回不同字典
export function getTypeListRequest(data) {
  return request({
    url: "/management-admin/dict/resoure",
    method: "post",
    data,
  });
}

/**
 *
 * 根据id获取图片
 */
export function getDeteilImgByIdRequest(data) {
  return request({
    url: `/management-admin/file/downloadFile?fileId=${data}`,
    method: "get",
    responseType: "blob",
  });
}
